package dao;

import domain.Student;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 于金鹏
 * @Date 2024/12/12 16:24
 * @Package yujinpeng
 */
public interface StudentDao {
    List<Student> list(Student student) throws SQLException;

    Student getStudent(int id);

    int addStudent(Student student) throws SQLException;

    int updateStudent(Student student) throws SQLException;

    int deleteStudent(int id) throws SQLException;
}
